<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>易商通运营平台</title>
 	<script type="text/javascript"src="__PUBLIC__/libs/js/jquery.js"></script>
	<script type="text/javascript"src="__PUBLIC__/libs/js/framework.js"></script>
	<link href="__PUBLIC__/libs/css/import_basic.css"rel="stylesheet"type="text/css"/>
	<link rel="stylesheet"type="text/css"id="skin"prePath="__PUBLIC__/"/>
	<link rel="stylesheet"type="text/css"id="customSkin"/>
	<script type="text/javascript"src="__PUBLIC__/libs/js/form/datePicker/WdatePicker.js"></script>
	<script type="text/javascript"src="__PUBLIC__/libs/js/nav/pageNumber.js"></script>
	<style>body{background-color:#dbeefd}</style>
</head>
<body>
  <div class="box1">
       <fieldset style="border-color:#999999;">

  <legend>客户修改</legend>

   <form action="__URL__/yewuupdatesave" method="post">
            <table class="tableStyle">              
               <tr>
                <td width="15%" class="light">公司名：</td>
                <td width="85%">  	 
                <input type="hidden" name="id" id="id"   value="{$data['id']}"/>
                <input type="hidden" name="custid" id="custid"   value="{$data['custid']}"/>
                <input type="text" name="company" id="company"   value="<?php 
            $id=$data['custid'];
        		$customer=M('customer');
            $arr=$customer->find($id);
            echo $arr['company'];
            ?>"/></td>
              </tr>
              
               <tr>
                <td width="15%" class="light">联系人</td>
                <td width="85%">  	  <input type="text" name="contact" id="contact"   value="<?php 
            $id=$data['custid'];
        		$customer=M('customer');
            $arr=$customer->find($id);
            echo $arr['contact'];
            ?>"/></td>
              </tr>
              
               <tr>
                <td width="15%" class="light">联系电话：</td>
                <td width="85%">  	  <input type="text" name="telephone" id="telephone"  value="<?php 
            $id=$data['custid'];
        		$customer=M('customer');
            $arr=$customer->find($id);
            echo $arr['telephone'];
            ?>"/></td>
              </tr>
              
               <tr>
                <td width="15%" class="light">业务类型：</td>
                <td width="85%">  	 
                 <select name="type">
               <volist name="list" id="vo">
                <option  value="{$vo['id']}"  <?php  
            $id=$data['type'];
            if($id==$vo['id']){
            echo selected;
            }
        	 ?> >{$vo['name']}</option>
                </volist>
                </select>
             </td>
              </tr>
              
               <tr>
                <td width="15%" class="light">关键词：</td>
                <td width="85%">  	
                <input type="text" name="keyword" id="keyword"  value="{$data['keyword']}"/></td>
              </tr>
              
               
            </table>
            <input type="submit" name="button" id="button" value="修改" />
            <input name="id" type="hidden" id="id" value="{$data['id']}" />
            </form>
</fieldset>
	</div>


</body>
</html>